/**
 * 
 */
package GUI.GameLoadWindowPackage;

import javax.swing.JCheckBox;

/**
 * @author Avia Tam
 * @author Assaf Miron
 *
 */
@SuppressWarnings("serial")
public class PlayerCheckbox extends JCheckBox {
	private Integer index;
	
	PlayerCheckbox(Integer index, String text, Boolean select)
	{
		super();
		this.index = index;
		this.setText(text);
		this.setSelected(select);
	}
	
	Integer getIndex()
	{
		return index;
	}
	
}
